﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TRPOP.Controls
{
    /// <summary>
    /// Button
    /// </summary>
    public class Button : System.Web.UI.WebControls.Button
    {
        /// <summary>
        /// 
        /// </summary>
        public Button()
        {

        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="writer"></param>
        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            //如果没有CssClass,添默认class=
            if (this.CssClass=="")
            {
                this.Attributes.Add("class", "class_btn");
            }
            base.Render(writer);
        }
    }
}
